package es.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: check-repetition
 * @description:
 * @author: hjk
 * @create: 2021-07-16 11:29
 **/
@Data
@Component
@ConfigurationProperties(prefix = "elasticsearch")
public class ElasticsearchProperties {

    private String host ;
    private Integer port ;
}
